package com.design.pattern.structuremode.facade;


/**
 * 结构型模式-外观模式
 * @author yll
 * @version 1.0.0
 * @date 2024/03/18 20：10
 * @desc 非住校学生行为实现类
 * */
public class StudentHomeServiceImpl implements StudentService {

    StudentDao studentDao = new StudentDao();
    public void studentDays(Student student){
        studentDao.goToClass(student);
        studentDao.homeEat(student);
        studentDao.homeSleep(student);
    }
}
